package com.mashibing.common;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.util.List;

@Data
public class BaseEntity<T> {

    @TableField(exist = false)
    private Long id;

    @TableField(exist = false)
    private Long parentId;

    @TableField(exist = false)
    private List<T> children;
}
